/******************************************************************************
 * @file system_adaptor.h
 *
 * @par dependencies
 * - bsp_led_driver.h
 * - bsp_led_handler.h
 * 
 *
 * @brief system adaptor for LED control
 *
 * Processing flow:
 *
 * call directly.
 *
 * @author iceiceiceberg
 *
 * @date 2025-05-11
 *
 * @version V1.0.0
 *
 * @note 1 tab == 4 spaces
 *
 *****************************************************************************/
#ifndef __SYSTEM_ADAPTOR_H__
#define __SYSTEM_ADAPTOR_H__

//********************************* Includes ********************************//
#include "main.h"

#include "FreeRTOS.h"
#include "task.h"
#include "cmsis_os.h"
#include "queue.h"

#include "bsp_led_driver.h"
#include "bsp_led_handler.h"

//********************************* Includes ********************************//

//********************************* Defines *********************************//
#define INIT_PATTERN_SYSTEM ( uint8_t )0xEC

extern bsp_led_driver_t led1;
extern bsp_led_driver_t led2;
extern bsp_led_handler_t handler1;

extern led_opes_t my_led_ops_instance;
extern handler_os_delay_t handler1_os_delay;
extern handler_os_queue_t handler1_os_queue;
extern handler_os_thread_t handler1_os_thread;
extern handler_os_critical_t handler1_os_critical;
extern handler_core_base_time_ms_t handler1_get_core_base_time;

//********************************* Defines *********************************//

//********************************* Declaring *******************************//
void test2( void );

//********************************* Declaring *******************************//

#endif /* __SYSTEM_ADAPTOR_H__ */
